package HomeWork._2024_3_19.src;

public class C extends B{
    private int variable3;

    public int getVariable3() {
        return variable3;
    }

    public void setVariable3(int variable3) {
        this.variable3 = variable3;
    }
    @Override
    public String toString() {
        return "C{" +
                "variable1=" + getVariable1() +
                ", variable2=" + getVariable2() +
                ", variable3=" + getVariable3() +
                '}';
    }
}
